


var myHuaitiModule=angular.module('myHuaitiModule',[]);
myHuaitiModule.controller("huatiController",function($scope,$http){
	$http.post("/huati.do").success(function(data){
		$scope.huati=data;
	})
});
myHuaitiModule.controller("huatiTiaozhuan",function($scope,$state){
	$scope.tohuatiSecond=function(id){
		var huati=id+1;
		$state.go("huatiSecond",{huatiid:huati});
	}
});